package org.jeecg.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产线产品路由配置
 * @Author: LiCY
 * @Date:   2023-08-03
 * @Version: V1.0
 */
@Data
@TableName("mes_line_partno_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_line_partno_cfg对象", description="产线产品路由配置")
public class MesLinePartnoCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**产线*/
	@Excel(name = "产线", width = 15)
    @ApiModelProperty(value = "产线")
    @MppMultiId
    private String line;
	/**产品/产品组*/
	@Excel(name = "产品/产品组", width = 15)
    @ApiModelProperty(value = "产品/产品组")
    @MppMultiId
    private String partno;
	/**路由名称*/
	@Excel(name = "路由名称", width = 15)
    @ApiModelProperty(value = "路由名称")
    private String routename;
	/**顺序号*/
	@Excel(name = "顺序号", width = 15)
    @ApiModelProperty(value = "顺序号")
    private BigDecimal sequence;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "status")
    private String status;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
